import request from '@/utils/request'
import { requestModel } from '@/types/service'

// 上传图片
export const uploadImage: requestModel = (data) => request({
    url: '/common/image',
    method: 'post',
    headers: {
      "Content-Type": 'multipart/form-data;'
    },
    data
})